// Use this for initialization void Start() { // physicsLogic = this.gameObject.GetComponent<PhysicsLogic> (); character = GameObject.Find("PlayerManager").GetComponent <Rigidbody2D>(); playerStatsLogic = this.gameObject.GetComponent <PlayerStatsLogic>(); animationLogic = this.gameObject.GetComponent <AnimationLogic>(); soundLogic = this.gameObject.GetComponent <SoundLogic>(); touch = GameObject.Find("TouchInterpter").GetComponent <TouchInterpeter>(); }
void Start() { physicsLogic = this.gameObject.GetComponent <PhysicsLogic> (); movmentLogic = this.gameObject.GetComponent <MovmentLogic> (); scoreLogic = this.gameObject.GetComponent <ScoreLogic>(); playerStatsLogic = this.gameObject.GetComponent <PlayerStatsLogic>(); missionLogic = this.gameObject.GetComponent <MissionLogic>(); animationLogic = this.gameObject.GetComponent <AnimationLogic>(); soundLogic = this.gameObject.GetComponent <SoundLogic>(); }