コード例 #1
0
        private void Awake()
        {
            fAnimation = GetComponent <RIFramesAnimation>();
            playBtn.onClick.AddListener(OnPlayBtnClick);

            gifFile = string.Format("{0}/Gif/Running.gif", Application.streamingAssetsPath);
        }
コード例 #2
0
 private void Start()
 {
     gifFile    = string.Format("{0}/Gif/{1}.gif", Application.streamingAssetsPath, gifName);
     fAnimation = GetComponent <RIFramesAnimation>();
 }