Singleton Pattern

  • 48
  • 0
  • 2020-02-07

1. Singleton Pattern:確保只有1個class只有單一"物件"(實例:instance)出現在整個Game中

2. GetType()

3. 使用 static實作。

 

...繼續閱讀 »

Game

  • 64
  • 0
  • 2020-02-25

This the game in which I used Cinemachine and Tilemap for the first time.
I also used Rule Tile so I saved a lot of time while building my game scene.

 

...繼續閱讀 »

Tilemap

一、How to use tilemap?
可以利用tile來建立場景。

 

二、Rule tiles
在畫 tiles 時,tiles會遵循設定的規則,所以在畫時可以節省時間。
( From lesson 182 )

...繼續閱讀 »