C# 클래스 AquaSphereMini.Shrimp

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: fi-content2-games-platform/FIcontent.Gaming.Enabler.phenomobilecharactermanager

공개 프로퍼티들

프로퍼티 타입 설명
acceleration float
aiSpeed float
direction float
maxSpeed float
minSpeed float
rotation float
speed float

공개 메소드들

메소드 설명
OnDisable ( ) : void
OnEnable ( ) : void
ProcessCharacterEvent ( string eventId, string param ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
ExecuteAI ( ) : void

This function will executed itself preidically and will change the current speed and direction based on random number.

Update3DModel ( ) : void

This function will update the model with position and rotation by speed and direction.

UpdateAnimation ( ) : void

This function will update the speed of animation, so it will give better match with current moves.

메소드 상세

OnDisable() 공개 메소드

public OnDisable ( ) : void
리턴 void

OnEnable() 공개 메소드

public OnEnable ( ) : void
리턴 void

ProcessCharacterEvent() 공개 메소드

public ProcessCharacterEvent ( string eventId, string param ) : void
eventId string
param string
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

acceleration 공개적으로 프로퍼티

public float acceleration
리턴 float

aiSpeed 공개적으로 프로퍼티

public float aiSpeed
리턴 float

direction 공개적으로 프로퍼티

public float direction
리턴 float

maxSpeed 공개적으로 프로퍼티

public float maxSpeed
리턴 float

minSpeed 공개적으로 프로퍼티

public float minSpeed
리턴 float

rotation 공개적으로 프로퍼티

public float rotation
리턴 float

speed 공개적으로 프로퍼티

public float speed
리턴 float