Exemplo n.º 1
0
    void ChangeImage()
    {
        var sprite = ImitateDecoImageManager.RandomSprite();
        var image  = this.GetComponent <Image>();

        image.sprite = sprite;
        image.SetNativeSize();
    }
Exemplo n.º 2
0
 void Start()
 {
     Application.targetFrameRate = 60;
     StaticData.Init();
     ImitateDecoImageManager.Init();
     ImitateRankManager.Init();
     UIEngine.Init();
     UIEngine.Forward <ImitateMainPage>();
     AudioManager.PlayBgm("main");
 }