private void SetPlayer() { if (m_Player == null) { BaseActorObj actor = Resources.Load <BaseActorObj>("Prefab/Character/Player"); m_Player = GameObject.Instantiate(actor as PlayerObj); } }
public void PutPlayer(PlayerObj player) { m_Player = player; }