예제 #1
0
 // Use this for initialization
 void Start()
 {
     // get the initial position of the game object
     playerPosition = gameObject.transform.position;
     scoreKeeper    = new ScoreObserver();
     lifeMaintain   = new lifeconcereteobserver();
 }
예제 #2
0
	// Use this for initialization
	void Start () {
		// get the initial position of the game object
		playerPosition = gameObject.transform.position;
		scoreKeeper = new ScoreObserver ();
		lifeMaintain = new lifeconcereteobserver (); 
	}