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