Search Unity

pet peeves I wish could be changed

Discussion in 'Wish List' started by shaderbytes, Apr 2, 2013.

  1. shaderbytes

    shaderbytes

    Joined:
    Nov 11, 2010
    Posts:
    900
    2 things I would like to see changed

    currently in Unity :

    1.
    anyKey - Is any key or mouse button currently held down? (Read Only)

    This should rather be named "anyInput" - and then there should still be the method "anyKey" that does what it name implies and only be fired when the keyboard is used.

    2.
    GameObject.GetComponentsInChildren - Returns all components of Type type in the GameObject or any of its children.

    Same logic as above , name of method and functionality are not inline. I would expect to use "GetComponent" to return the component on "this" Object and then GetComponentsInChildren should be used for what its name implies .. only children

    Just saying .. no hard feelings