Esempio n. 1
0
 public override float Activate(SceneManager SM)
 {
     SM.Background.GetComponent<SpriteRenderer>().sprite = Resources.Load<Sprite>(Name);
     SM.NextSceneNode();
     return -1.0f;
 }
Esempio n. 2
0
 public override float Activate(SceneManager SM)
 {
     SM.GetCharObj(ID).GetComponent<CharacterBase>().SetSprite(Name);
     SM.NextSceneNode ();
     return -1.0f;
 }