public override void Initialize(A_InteractBehaviour behaviourParameters)
        {
            LerpObjectFromTo obj = (LerpObjectFromTo)behaviourParameters;

            this.startingPosition = obj.StartingPosition;
            this.endingPosition = obj.EndingPosition;

            this.transitionTime = obj.TransitionTime;
        }
Exemplo n.º 2
0
 public override void Initialize(A_InteractBehaviour behaviourParameters)
 {
     myPlayerStats = ((StatModifier)behaviourParameters).myPlayerStats;
     pickupType = ((StatModifier)behaviourParameters).pickupType;
     pickupValue = ((StatModifier)behaviourParameters).pickupValue;
 }
 public override void Initialize(A_InteractBehaviour behaviourParameters)
 {
     timeToLive = ((DestroyInteraction)behaviourParameters).TimeToLive;
 }
Exemplo n.º 4
0
 public override void Initialize(A_InteractBehaviour behaviourParameters)
 {
 }
Exemplo n.º 5
0
 public override void Initialize(A_InteractBehaviour behaviourParameters)
 {
     msg = ((DebugLogMSG)behaviourParameters).msg;
 }
Exemplo n.º 6
0
 // Add Variables And MonoBehaviour Functions At Will
 // Remember To Add Custom Inspector Code To InteractEditor
 public override void Initialize(A_InteractBehaviour behaviourParameters)
 {
     throw new System.NotImplementedException ();
 }