UILabel.GetSides C# (CSharp) Méthode

GetSides() public méthode

Get the sides of the rectangle relative to the specified transform. The order is left, top, right, bottom.
public GetSides ( Transform relativeTo ) : Vector3[]
relativeTo Transform
Résultat Vector3[]
	public override Vector3[] GetSides (Transform relativeTo)
	{
		if (shouldBeProcessed) ProcessText();
		return base.GetSides(relativeTo);
	}

Usage Example

    static int GetSides(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UILabel   obj  = (UILabel)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UILabel");
        Transform arg0 = (Transform)LuaScriptMgr.GetUnityObject(L, 2, typeof(Transform));

        Vector3[] o = obj.GetSides(arg0);
        LuaScriptMgr.PushArray(L, o);
        return(1);
    }
All Usage Examples Of UILabel::GetSides