bocos blog
Tutorial
Tip
Trouble Shooting
Research
Read
2015년 11월 27일 금요일
ngui tween 특정 상태로 설정
using UnityEngine; using System.Collections; public class test : MonoBehaviour { public TweenAlpha _tweenalpha_1; public TweenAlpha _tweenalpha_2; void OnGUI() { if(GUI.Button(new Rect(20,40,200,60), "test")) { _tweenalpha_2.tweenFactor = _tweenalpha_1.tweenFactor; if( _tweenalpha_1.direction != _tweenalpha_2.direction ) { _tweenalpha_2.Toggle(); } } } }
댓글 없음:
댓글 쓰기
최근 게시물
이전 게시물
홈
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기