// Use this for initialization void Start() { myWheel = this.gameObject.transform.parent.GetComponent<WheelPlatforms> (); addspeed = myWheel.JumpSpeedAdded; breakPoint = myWheel.WheelBreakpoint; }
// Use this for initialization void Start() { wplat = GetComponentInParent<WheelPlatforms> (); Target = GetComponent<StudioEventEmitter> (); LevelReset.myLevelElements.Add(this); }
// Use this for initialization void Start() { myWheel = this.gameObject.transform.parent.GetComponent <WheelPlatforms> (); addspeed = myWheel.JumpSpeedAdded; breakPoint = myWheel.WheelBreakpoint; }
// Use this for initialization void Start() { wplat = GetComponentInParent <WheelPlatforms> (); Target = GetComponent <StudioEventEmitter> (); LevelReset.myLevelElements.Add(this); }