Search Unity

How do I connect between classes in a script?

Discussion in 'Documentation' started by AmitTzuberi, Nov 17, 2019.

Thread Status:
Not open for further replies.
  1. AmitTzuberi

    AmitTzuberi

    Joined:
    Oct 1, 2019
    Posts:
    4
    Hello Professionals,
    I started the Creator Kit: Beginner Code course after experimenting with unity software and got stuck in the last "customization" class.

    One of the tasks I was tasked with was to remove one unit from the inventory when the bool true was used.
    And in the second task of this task if the player's life is full the potion will not be used and no bool false will be removed.

    What should I think of when writing variables and classes?
     
  2. APSchmidt

    APSchmidt

    Joined:
    Aug 8, 2016
    Posts:
    2,889
  3. AmitTzuberi

    AmitTzuberi

    Joined:
    Oct 1, 2019
    Posts:
    4
Thread Status:
Not open for further replies.