UILabel.GetCharacterIndex C# (CSharp) Méthode

GetCharacterIndex() private méthode

private GetCharacterIndex ( Vector2 localPos ) : int
localPos Vector2
Résultat int
	public int GetCharacterIndex (Vector2 localPos) { return GetCharacterIndexAtPosition(localPos); }

Same methods

UILabel::GetCharacterIndex ( Vector3 worldPos ) : int
UILabel::GetCharacterIndex ( int currentIndex, KeyCode, key ) : int

Usage Example

    static int GetCharacterIndex(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 3);
        UILabel obj  = (UILabel)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UILabel");
        int     arg0 = (int)LuaScriptMgr.GetNumber(L, 2);
        KeyCode arg1 = (KeyCode)LuaScriptMgr.GetNetObject(L, 3, typeof(KeyCode));
        int     o    = obj.GetCharacterIndex(arg0, arg1);

        LuaScriptMgr.Push(L, o);
        return(1);
    }
All Usage Examples Of UILabel::GetCharacterIndex