// ================================================================ // // MonoBehaviour에서 상속. void Awake() { this.balloon = BalloonRoot.get().createBalloon(); this.item_man = ItemManager.getInstance(); this.item_carrier = new ItemCarrier(this); }
// 말풍선을 만듭니다. public ChattyBalloon createBalloon() { ChattyBalloon balloon = new ChattyBalloon(this); balloon.setPriority(0); this.balloons.Add(balloon); return(balloon); }
// ================================================================ // // MonoBehaviour から에서 상속. void Start() { this.main_camera = GameObject.FindGameObjectWithTag("MainCamera"); this.balloon = BalloonRoot.get().createBalloon(); this.timer = -1.0f; this.timer_prev = -1.0f; this.billboard.is_enable = false; this.billboard.roll = 0.0f; this.initial_position = this.transform.position; this.initial_rotation = this.transform.rotation; this.is_visible = true; this.behavior.start(); }