Adventure Creator Wikia
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 37: Line 37:
 
 
 
<nowiki> </nowiki> override public void AssignValues(List<ActionParameter> parameters) {
 
<nowiki> </nowiki> override public void AssignValues(List<ActionParameter> parameters) {
<nowiki> </nowiki> if (isPlayer) {
+
<nowiki> </nowiki> interactionSystem = AssignFile(parameters, parameterID_is, constantID_is, interactionSystem);
<nowiki> </nowiki> interactionSystem = KickStarter.player.gameObject;
 
<nowiki> }
 
</nowiki> else {
 
<nowiki> </nowiki> interactionSystem = AssignFile(parameters, parameterID_is, constantID_is, interactionSystem);
 
<nowiki> </nowiki> }
 
 
<nowiki> </nowiki> interactionObject = AssignFile(parameters, parameterID_io, constantID_io, interactionObject);
 
<nowiki> </nowiki> interactionObject = AssignFile(parameters, parameterID_io, constantID_io, interactionObject);
 
<nowiki> }
 
<nowiki> }
Line 57: Line 52:
 
</nowiki> return 0f;
 
</nowiki> return 0f;
 
}
 
}
+
 
#if UNITY_EDITOR
 
#if UNITY_EDITOR
 
override public void ShowGUI (List<ActionParameter> parameters)
 
override public void ShowGUI (List<ActionParameter> parameters)
Line 101: Line 96:
 
return labelAdd;
 
return labelAdd;
 
}
 
}
#endif
+
#endif
 
}
 
}
 
}</nowiki>
 
}</nowiki>
Please note that all contributions to the Adventure Creator Wikia are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)