[ML-General] Need help with programming in Unity
David Tabb
formerlydavid at gmail.com
Thu May 26 13:37:43 CDT 2016
Fair points. Sometimes I find trying to explain my problems to someone
forces me to organize my thoughts in a way that reveals a solution. I was
acting as sounding board, after demonstrating at least a cursory
understanding of the topic.
On Thu, May 26, 2016 at 10:00 AM, Phillip Showers <phillip.showers at gmail.com
> wrote:
> Ehhh, you aren't wrong David, but it depends on where he's getting caught
> up as to whether your advice is helpful. Unity treats scripts like child
> objects that you can hang on individual game objects, but you can also
> assign other game objects to a script externally by adding 'global'
> variables to the script. The Input object that you were theorizing does
> exist, and is called "Input". But that's basic info that every tutorial
> will reference, so without knowing more about what he's trying to do, any
> general advice I could give would possibly be helpful, but not the answer
> that Stewart was looking for.
>
> here's a really good camera movement script that I like to use to explore
> scenes, you add it as a script and attach it to the camera:
>
> http://forum.unity3d.com/threads/39513-Click-drag-camera-movement
>
>
>
> On Wed, May 25, 2016 at 10:30 PM, David Tabb <formerlydavid at gmail.com>
> wrote:
>
>> Out of curiosity, what's your problem?
>>
>> I don't know Unity, but off the top of my head I expect there's an object
>> somewhere that detects all manner of input.
>> Object.mouseHandler.mouseDown(), that sort of thing. Maybe the
>> GameObject? You might have to custom code the reactions, but the
>> placeholder functions ought to be there someplace.
>>
>> Or I'm talking out my butt.
>>
>> David
>>
>> On Wed, May 25, 2016 at 6:41 PM, Phillip Showers <
>> phillip.showers at gmail.com> wrote:
>>
>>> I can't do it this weekend, but maybe next weekend.
>>> On May 25, 2016 5:36 PM, "Stewart Jacobs" <armchairengineer at gmail.com>
>>> wrote:
>>>
>>>> So I'm working on a simple game in Unity 5 and writing all of the
>>>> scripts in C#. I've been asked to work on the game controller, but I still
>>>> can't figure out the best approach to writing it no matter how many
>>>> tutorials I watch. Would anyone be willing to sit down with me and guide me
>>>> through the process some time before Saturday?
>>>>
>>>> --Stewart
>>>>
>>>> _______________________________________________
>>>> This is the general mailing list.
>>>> This list is for public discussion about Makers Local and related
>>>> activities.
>>>> To stop receiving mail from this list, write to
>>>> general-leave at lists.makerslocal.org.
>>>>
>>>
>>> _______________________________________________
>>> This is the general mailing list.
>>> This list is for public discussion about Makers Local and related
>>> activities.
>>> To stop receiving mail from this list, write to
>>> general-leave at lists.makerslocal.org.
>>>
>>
>>
>> _______________________________________________
>> This is the general mailing list.
>> This list is for public discussion about Makers Local and related
>> activities.
>> To stop receiving mail from this list, write to
>> general-leave at lists.makerslocal.org.
>>
>
>
> _______________________________________________
> This is the general mailing list.
> This list is for public discussion about Makers Local and related
> activities.
> To stop receiving mail from this list, write to
> general-leave at lists.makerslocal.org.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.makerslocal.org/pipermail/general/attachments/20160526/4aac6449/attachment.html>
More information about the general
mailing list