Class Game.SyncValue

클라이언트로 자동으로 동기화되는 변수

Fields

Game.SyncValue.name SyncValue의 이름을 가져옵니다.
Game.SyncValue.value SyncValue의 값을 가져오거나 변경합니다.

Methods

Game.SyncValue:Create (name) 특정 이름의 Game.SyncValue를 만들거나 같은 이름의 Game.SyncValue를 얻어옵니다.


Fields

Game.SyncValue.name
SyncValue의 이름을 가져옵니다.
Game.SyncValue.value
SyncValue의 값을 가져오거나 변경합니다.
  • value number, string or bool

Usage:

    var1 = Game.SyncValue.Create('var1')
    print(var1.value)
    var1.value = 123

Methods

Game.SyncValue:Create (name)
특정 이름의 Game.SyncValue를 만들거나 같은 이름의 Game.SyncValue를 얻어옵니다.
같은 이름의 UI.SyncValue로 동기화 합니다.

Parameters:

Returns:

    Game.SyncValue

Usage:

    var1 = Game.SyncValue.Create('var1')
generated by LDoc 1.4.6 Last updated 2019-11-08 21:27:50