public ActorView SpawnThing(ActorModel m) { ActorView r = Instantiate(Thing).GetComponent <ActorView>(); r.Setup(m); return(r); }
public ActorView SpawnThing(ActorModel m) { ActorView r = Instantiate(Thing).GetComponent <ActorView>(); r.GetComponentInChildren <SpriteRenderer>().color = new Color32(255, 255, 255, 0); r.Setup(m); return(r); }