// Use this for initialization void Awake() { networkIdentity = GetComponent <NetworkIdentity>(); rb = GetComponent <Rigidbody2D>(); playerInput = GetComponent <PlayerInput_Flippo>(); playerStats = GetComponent <PlayerStats_Flippo>(); collisionState = GetComponent <CollisionState>(); }
// Use this for initialization void Start() { col = GetComponent <Collider2D>(); playerStats = GetComponent <PlayerStats_Flippo>(); }