void Awake() { _instance = this; cam = GetComponent <Camera>(); }
void Start() { main_camera = PlatformerCamera.GetCamera(); render = GetComponent <Renderer>(); }
public void Construct(GameManager _gameManager, PlatformerCamera _platformCamera) { gameManager = _gameManager; _platformCamera.target = gameObject; }