void Awake() { spawnDispatcher = GetComponent <SFXDispatcher>(); toyBodyFactory = GetComponent <ToyBodyFactory>(); toyBodyFactory.Spawn += OnSpawn; }
private void Awake() { Instance = this; }