protected override void Awake() { base.Awake(); _motor = GetComponent <PhysicsMotor2D>(); _base = transform.Find("Base"); }
private void Awake() { if (Instance != null && Instance != this) { Debug.LogError("There appear to be more than one player objects in this scene, this is an error state."); } Instance = this; Motor = GetComponent <PhysicsMotor2D>(); if (debugSoul != null) { ActiveSoul = debugSoul; ActiveSoul.Initialize(this); } _activatingSoul = false; }